package com.shop.front.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;
import java.math.BigDecimal;

@ApiModel("用户提现请求参数")
@Data
public class UserExtractReq {

    @ApiModelProperty(value = "提现金额", required = true)
    @NotNull(message = "提现金额不能为空")
    @DecimalMin(value = "0", message = "提现金额不能小于0")
    private BigDecimal withdrawalMoney;


    @ApiModelProperty(value = "账户类型  2 返佣积分 4 签到积分", required = true)
    @NotNull(message = "提现账户类型不能为空")
    private Integer accountType;


    @ApiModelProperty(value = "提现模版sign id")
    private String extractAddressSign;

}
